package com.jingdianjichi.subject.application.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 标签
 * @TableName subject_label
 */
@Data
public class SubjectLabelDTO {

    private Long id;
    /**
     * 标签名
     */
    @NotNull(message = "标签名不能为空")
    private String labelName;

    /**
     * 分类id
     */
    private Long categoryId;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空")
    private Integer sortNum;

}